package com.yc.boot.work.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Create with IntelliT IDEA
 *
 * @Author: zhengmingzhe
 * @Date: 2021/12/14/11:46
 * @Description:  班级教师关联实体类
 */
@Data
@Accessors(chain = true)
@TableName("test_class_teacher")
public class TestClassTeacher {
    @TableId(value = "class_id", type = IdType.INPUT)
    @ApiModelProperty(value = "班级Id")
    private Long classId;

    @TableField("teacher_id")
    @ApiModelProperty(value = "教师Id")
    private Long teacherId;
}
